package com.example.film.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;

@ApiModel("发行信息")
public class PublishInfo {

    @ApiModelProperty("上映日期")
    private Date releaseDate;

    @ApiModelProperty("电影名称")
    private String filmName;

    @ApiModelProperty("国别")
    private String country;

    @ApiModelProperty("出品方")
    private String producer;

    public Date getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(Date releaseDate) {
        this.releaseDate = releaseDate;
    }

    public String getFilmName() {
        return filmName;
    }

    public void setFilmName(String filmName) {
        this.filmName = filmName;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProducer() {
        return producer;
    }

    public void setProducer(String producer) {
        this.producer = producer;
    }

    @Override
    public String toString() {
        return "PublishInfo{" +
                "releaseDate=" + releaseDate +
                ", filmName='" + filmName + '\'' +
                ", country='" + country + '\'' +
                ", producer='" + producer + '\'' +
                '}';
    }
}
